﻿using System;
using System.Collections.Generic;

namespace HRX.PayCenter.Common.WebAppBase
{
    /// <summary>
    /// 配置包装
    /// </summary>
    public class SwaggerSettingsConfigWrapper
    {
        public SwaggerSettings SwaggerSettings { get; set; }
    }

    /// <summary>
    /// 添加Swagger时需要添加的内容
    /// </summary>
    public class SwaggerSettings
    {
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public string Version { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// json访问路径
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Xml文件描述
        /// </summary>
        public List<string> IncludeXml { get; set; }
    }
}
